package com.itlong.cloud.POJO.DTO.common;

import com.itlong.cloud.enumerate.ParkingBusinessOrderEnum;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * <desc>
 *      NettyServiceDTO类
 * </desc>
 *
 * @createDate 2018/11/15
 */
@Data
@NoArgsConstructor
public class NettyServiceDTO {
    public NettyServiceDTO(String clientKey, String content, ParkingBusinessOrderEnum parkingBusinessOrderEnum, String messageId) {
        this.clientKey = clientKey;
        this.content = content;
        this.parkingBusinessOrderEnum = parkingBusinessOrderEnum;
        this.messageId = messageId;
    }

    private String clientKey;               //停车场客户端key
    private String content;                 //传输内容
    private ParkingBusinessOrderEnum parkingBusinessOrderEnum;  //停车场业务指令枚举类
    private String messageId;               //消息唯一id
}
